/*
 * 作者:熊猫
 * 日期:2017 - 3 - 17 10 - 24 - 49
 *
 */

package net.lainiao.morethread.Chapter7.demo5;

import java.util.concurrent.TimeUnit;

/**
 * Created by Administrator on 2017/3/17.
 */
public class Task implements Runnable {
    @Override
    public void run() {
        System.out.println("Task : Begin ");
        try {
            TimeUnit.SECONDS.sleep(2);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("Task : End ");
    }
}
